﻿<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
    xmlns:DataArtist="clr-namespace:DataArtistConnections"
    x:Class="DataArtistConnections.MainPage"
    mc:Ignorable="d"
    d:DesignHeight="500" d:DesignWidth="850" Background="Yellow" BorderBrush="#FFEB3030" Foreground="#FF2FAD2F">

    <Canvas x:Name="LayoutRoot" Background="Pink" Height="450" Width="800">
       
        <Button Content="click"  Name="b" Click="b_Click" Canvas.Left="300" />
        <TextBlock x:Name="tb" Canvas.Left="300" Canvas.Top="50" Text="nic" ></TextBlock>
        <ListBox x:Name="lb" Canvas.Left="300" Canvas.Top="80">
            <ListBoxItem>
                tralala
            </ListBoxItem>            
        </ListBox>
        <DataArtist:node x:Name="tralal" >
            <!--<i:Interaction.Behaviors>
                <DataArtist:ConnectBehavior ConnectTo="dva" Color="YellowGreen" StrokeThickness="4" BendAmount=".4" ArrowSize="15" ArrowType="OpenArrow" DropShadow="True"/>
            </i:Interaction.Behaviors>-->
        </DataArtist:node>
    
        <DataArtist:node x:Name="dva" Canvas.Left="0" Canvas.Top="200"  ></DataArtist:node>
    </Canvas>
</UserControl>

